package com.example.bank.dto;

import java.math.BigDecimal;
import java.time.LocalDateTime;

public class TransactionDTO {
    private Long transactionID;
    private Long accountNumber;
    private BigDecimal amount;
    private LocalDateTime transactionDate;
    private String description;
    private String status;
    private String type;
    
    public TransactionDTO() {}
    
    public TransactionDTO(Long transactionID, Long accountNumber, BigDecimal amount,
                         LocalDateTime transactionDate, String description,
                         String status, String type) {
        this.transactionID = transactionID;
        this.accountNumber = accountNumber;
        this.amount = amount;
        this.transactionDate = transactionDate;
        this.description = description;
        this.status = status;
        this.type = type;
    }
    
    // Getters and Setters
    public Long getTransactionID() {
        return transactionID;
    }
    
    public void setTransactionID(Long transactionID) {
        this.transactionID = transactionID;
    }
    
    public Long getAccountNumber() {
        return accountNumber;
    }
    
    public void setAccountNumber(Long accountNumber) {
        this.accountNumber = accountNumber;
    }
    
    public BigDecimal getAmount() {
        return amount;
    }
    
    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }
    
    public LocalDateTime getTransactionDate() {
        return transactionDate;
    }
    
    public void setTransactionDate(LocalDateTime transactionDate) {
        this.transactionDate = transactionDate;
    }
    
    public String getDescription() {
        return description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }
    
    public String getStatus() {
        return status;
    }
    
    public void setStatus(String status) {
        this.status = status;
    }
    
    public String getType() {
        return type;
    }
    
    public void setType(String type) {
        this.type = type;
    }
} 